package com.bbzn.device.client.dao.resource;

import com.bbzn.device.client.dataobject.StaticResources;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 曾俞钧
 * @Date : 2021/3/29 11:26
 * @Version 1.0
 */
public interface StaticResourcesMapper {

    int deleteByPrimaryKey(Integer pictureId);

    int insert(StaticResources record);

    int insertOrUpdate(StaticResources record);

    int insertOrUpdateSelective(StaticResources record);

    int insertSelective(StaticResources record);

    StaticResources selectByPrimaryKey(Integer pictureId);

    int updateByPrimaryKeySelective(StaticResources record);

    int updateByPrimaryKey(StaticResources record);

    int updateBatch(List<StaticResources> list);

    int batchInsert(@Param("list") List<StaticResources> list);

    List<StaticResources> advertisementList(StaticResources resources);

}